package com.neusoft.neusoftoa.controllers;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
//springboot=spring+springMVC
/**
 * emp操作的控制类
 * @Author htz
 * @Date 2021-06-16 16:44
 */
@Controller
@RequestMapping("/emp")
public class EmpController {

    @GetMapping("emplist")
    public String showEmps(){

        System.out.println(">>>>>>>>..进入控制器");
        return "hello";//返回视图
    }


}
